﻿// -----------------------------------------------------------------------
// <copyright file="FSDirectoryInformation.cs" company="ANGIE.D">
//     Copyright (c) 2012 ANGIE.D. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace MyFileStore.FileStore
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    public class FSDirectoryInformation
    {
        private List<FSDirectoryInformation> directories = new List<FSDirectoryInformation>();
        private List<FSFileInformation> files = new List<FSFileInformation>();

        public string Name { get; set; }

        public string FullPath { get; set; }

        public DateTime CreationTime { get; set; }

        public DateTime LastWriteTime { get; set; }

        public DateTime LastAccessTime { get; set; }

        public List<FSDirectoryInformation> Directories
        {
            get
            {
                return this.directories;
            }

            set
            {
                this.directories = value;
            }
        }

        public List<FSFileInformation> Files
        {
            get
            {
                return this.files;
            }

            set
            {
                this.files = value;
            }
        }
    }
}
